﻿<UserControl x:Class="Galnote.Control.ShowcasedRatio"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="1*"/>
			<RowDefinition Height="38"/>
		</Grid.RowDefinitions>
		<HyperlinkButton Style="{StaticResource ResourceKey=GenericHBStyle}" HorizontalContentAlignment="Center" VerticalContentAlignment="Bottom">
			<Border BorderBrush="Azure" BorderThickness="1">
				<Button x:Name="PreviewToDownloadButton" Style="{StaticResource ResourceKey=GenericBtnStyle}" Padding="5">
					<Image Source="{Binding Path=Image}" Stretch="Uniform"/>
				</Button>
			</Border>
		</HyperlinkButton>
		<HyperlinkButton Grid.Row="1" Style="{StaticResource ResourceKey=GenericHBStyle}">
			<TextBlock Style="{StaticResource ResourceKey=GenericWebContentTextStyle}" Text="{Binding Path=Title}" HorizontalAlignment="Center"/>
		</HyperlinkButton>
	</Grid>
</UserControl>
